package com.xhsj.user.event.listener;


import com.xhsj.user.event.MessageHandleThread;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;


/**
 * 短信发送失败消息处理类
 * @author suxiaolin
 * @date 2020/4/1 9:24
 */
@Component
@Order(value = 10)
public class MessageHandleListener implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        Thread t = new Thread(new MessageHandleThread());
        t.start();
    }


}
